#not非  and x和y必须全为真，结果才为真。   or x和y有一个为真，结果就为真。
x=True
y=False
print(not x)
print(x and y)
print(x or y)
print('----------')
x=False
y=False
print(not x)
print(x and y)
print(x or y)
print('----------')
x=True
y=True
print(not x)
print(x and y)
print(x or y)
print('----------')
x=False
y=True
print(not x)
print(x and y)
print(x or y)